package com.glacier.framework.boot.rest.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * date 2023-12-31 17:21
 *
 * @author glacier
 * @version 1.0
 */
@RestController
@RequestMapping("/langWrapper")
public class LangWrapperController {
    @RequestMapping("/test1")
    public String test1() {
        return "中文";
    }

    @RequestMapping("/test2")
    public Byte test2() {
        return (byte) 1;
    }

    @RequestMapping("/test3")
    public Short test3() {
        return 1;
    }

    @RequestMapping("/test4")
    public Integer test4() {
        return 1;
    }

    @RequestMapping("/test5")
    public Long test5() {
        return 1L;
    }

    @RequestMapping("/test6")
    public Float test6() {
        return 1.0f;
    }

    @RequestMapping("/test7")
    public Double test7() {
        return 1.0d;
    }

    @RequestMapping("/test8")
    public Boolean test8() {
        return true;
    }

    @RequestMapping("/test9")
    public Character test9() {
        return 'a';
    }

}
